package cevent.source.cloudcenter.server.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;


/**
 * @author cevent
 * @description 站点设置表 模块传输层
 */
public class SiteSetDto {

    //唯一ID
    private String uniId;
    //站点名称
    private String name;
    //站点logo
    private String logo;
    //SEO标题
    private String seoTitle;
    //SEO关键字
    private List<String> seoKeyword;
    //seo描述
    private String seoDescription;
    //域名配置
    private String domainName;
    //站点开关||开1 关0
    private Integer isOpen;
    //转移站点|是否301永久性转移地址
    private Integer isRedirect;
    //模板目录
    private String templateDir;
    //脚本：转换为scriptDto
    private SiteSetScriptDto script;
    //联系方式
    private String contact;
    //固定电话
    private String phone;
    //手机号
    private String mobile;
    //邮箱
    private String email;
    //地址
    private String address;
    //QQ号码
    private String qqNum;
    //微信
    private String wechatNum;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    //修改时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    public String getUniId() {
        return uniId;
    }

    public void setUniId(String uniId) {
        this.uniId = uniId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getSeoTitle() {
        return seoTitle;
    }

    public void setSeoTitle(String seoTitle) {
        this.seoTitle = seoTitle;
    }

    public List<String> getSeoKeyword() {
        return seoKeyword;
    }

    public void setSeoKeyword(List<String> seoKeyword) {
        this.seoKeyword = seoKeyword;
    }

    public String getSeoDescription() {
        return seoDescription;
    }

    public void setSeoDescription(String seoDescription) {
        this.seoDescription = seoDescription;
    }

    public String getDomainName() {
        return domainName;
    }

    public void setDomainName(String domainName) {
        this.domainName = domainName;
    }

    public Integer getIsOpen() {
        return isOpen;
    }

    public void setIsOpen(Integer isOpen) {
        this.isOpen = isOpen;
    }

    public Integer getIsRedirect() {
        return isRedirect;
    }

    public void setIsRedirect(Integer isRedirect) {
        this.isRedirect = isRedirect;
    }

    public String getTemplateDir() {
        return templateDir;
    }

    public void setTemplateDir(String templateDir) {
        this.templateDir = templateDir;
    }

    public SiteSetScriptDto getScript() {
        return script;
    }

    public void setScript(SiteSetScriptDto script) {
        this.script = script;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getQqNum() {
        return qqNum;
    }

    public void setQqNum(String qqNum) {
        this.qqNum = qqNum;
    }

    public String getWechatNum() {
        return wechatNum;
    }

    public void setWechatNum(String wechatNum) {
        this.wechatNum = wechatNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("SiteSetDto{");
        sb.append("uniId='").append(uniId).append('\'');
        sb.append(", name='").append(name).append('\'');
        sb.append(", logo='").append(logo).append('\'');
        sb.append(", seoTitle='").append(seoTitle).append('\'');
        sb.append(", seoKeyword=").append(seoKeyword);
        sb.append(", seoDescription='").append(seoDescription).append('\'');
        sb.append(", domainName='").append(domainName).append('\'');
        sb.append(", isOpen=").append(isOpen);
        sb.append(", isRedirect=").append(isRedirect);
        sb.append(", templateDir='").append(templateDir).append('\'');
        sb.append(", script=").append(script);
        sb.append(", contact='").append(contact).append('\'');
        sb.append(", phone='").append(phone).append('\'');
        sb.append(", mobile='").append(mobile).append('\'');
        sb.append(", email='").append(email).append('\'');
        sb.append(", address='").append(address).append('\'');
        sb.append(", qqNum='").append(qqNum).append('\'');
        sb.append(", wechatNum='").append(wechatNum).append('\'');
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append('}');
        return sb.toString();
    }
}
